package summer_vacation.yangyiqing.m201508;
import java.util.Scanner;

/**
 * Created by Administrator on 2015/9/1 0001.
 */
public class Java_26 {
    public static void main(String[] args){
        System.out.println("请输入三角形的三边长：");
        Scanner s=new Scanner(System.in);
        int a=s.nextInt();
        int b=s.nextInt();
        int c=s.nextInt();
        int l=0;
        if(a+b>c&&a+c>b){
            l=a+b+c;
            System.out.println("三角形的周长是："+l);
        }else{
            System.out.println("不能构成三角形！");
        }
    }
}
